package com.gg.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gg.entity.Cart;

import povos.CartFruitPovo;

public interface CartMapper {
	List<CartFruitPovo> selectCartFruitPovosByUid(String uid);

	void deleteCartByCid(String cid);

	void updateCartByCid(@Param("cid")String cid,@Param("number") int number);

	Cart selectCartByUidAndFid(@Param("uid")String uid,@Param("fid") int fid);

	void updateCart(Cart cart);

	void insertCart(Cart currentcart);
	
}
